<%-- 
    Document   : AlterarCliente
    Created on : 20/06/2011, 19:45:50
    Author     : Pablo
--%>
<%@page import="BancoDados.Cliente"%>
<%@include file="baseImports.jsp"%>
<%@page import="Servlets.ServletCliente" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <%@include file="header.html"%>
   <tr>
        <td width="100%">
            <table width="850"  border="0" cellspacing="0" cellpadding="0">
                <tr>
					<%@include file="staticHtml/MenuEsquerdo.jsp"%>
                    <td   style="background-color:#edfaff;">
                        <table width="548"  border="0" cellspacing="0" >
                            <tr>
                                <td width="100%" style="padding:30px" align="left">
                                    <span class="title1">CONTATO</span><br>													<br>
                                    <table  border="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td valign="top" ><div align="justify">
                                                    <p><strong class="title2">Ag&ecirc;ncia G&oacute;is & G&oacute;is</strong><br>
                                                        <br>
                                                       <%
                                                                    //ServletCliente sc = new ServletCliente();
                                                                    Cliente cliente = new Cliente();
                                                                    StringBuffer stb = new StringBuffer();

                                                                    HttpSession sessao = request.getSession();

                                                                    cliente = (Cliente) sessao.getAttribute("cliente");

                                                                    stb.append("Usuário Logado: ");
                                                                    stb.append("<a href=" + "ClientePerfil.jsp" + ">" + cliente.getNomeCli() + "</a>");

                                                                    out.print(stb);
                                                        %>



                                                    <fieldset>


                                                        <form name="frm" action="ServletProfissional" onsubmit="return true"
                                                              method="post">

                                                            <input type="hidden" name="tipo" value="alterar">

                                                            <font size="2px" color="grey" face="arial">(*)Campos Obrigat&aacute;rios</font>
                                                            <br><br><br>


                                                            Nome(*):
                                                            <input type="text" name="NomeCli" size="45" maxlength="100" value="<%= cliente.getNomeCli() %>">
                                                            <br><br>

                                                            Fantasia(*):
                                                            <input type="text" name="Fantasia" size="45" maxlength="100" value="<%= cliente.getFantasia() %>">
                                                            <br><br>


                                                            Rua (*):
                                                            <input type="text" name="Endereco" size="50" maxlength="45" value="<%= cliente.getEndereco() %>">
                                                            <br><br>

                                                            Bairro (*):
                                                            <input type="text" name="Bairro" size="15" maxlength="30"  value="<%= cliente.getBairro() %>">
                                                            <br><br>

                                                            Cidade (*):
                                                            <input type="text" name="Cidade" size="15" maxlength="30" value="<%= cliente.getCidade() %>">
                                                            <br><br>


                                                            UF (*):
                                                            <%= GerenciadorPagina.gerarComboEstados("UF", "PR", "style=\"width: 150px\" tabindex=\"11\"")%>

                                                            <br><br>

                                                            Telefone (*):
                                                            <input type="text" name="FoneFixo" size="18" maxlength="13" value="<%= cliente.getFoneFixo() %>" >
                                                            <br><br>

                                                            Fax (*):
                                                            <input type="text" name="FoneFax" size="18" maxlength="13" value="<%= cliente.getFoneFax() %>" >
                                                            <br><br>

                                                            Celular :
                                                            <input type="text" name="FoneCel" size="18" maxlength="13" value="<%= cliente.getFoneCelular() %>" >
                                                            <br><br>


                                                            E-mail:
                                                            <input type="text" name="email" size="60" maxlength="50" value="<%= cliente.getEmail() %>" >
                                                            <font size="2px" color="grey" face="arial">(xxx@xx.xx)</font>
                                                            <br><br>

                                                            HomePage(*):
                                                            <input type="text" name="HomePage" size="45" maxlength="50" value="<%= cliente.getHomePage() %>">
                                                            <br><br>

                                                            Tipo(*):
                                                            <input type="text" name="Tipo" size="5" maxlength="1" value="<%= cliente.getTipo() %>">
                                                            <br><br>

                                                            Data de Abertura(*):
                                                            <input type="text" name="DataNasctoAbertura" size="20" maxlength="10" value="<%= cliente.getDataNasctoAbertura() %>">
                                                            <br><br>

                                                            CNPJ(*):
                                                            <input type="text" name="CPFCNPJ" size="20" maxlength="14" value="<%= cliente.getCPFCNPJ() %>">
                                                            <br><br>

                                                            RGIE(*):
                                                            <input type="text" name="RGIE" size="20" maxlength="50" value="<%= cliente.getRGIE() %>" >
                                                            <br><br>

                                                        
                                                            Login(*):
                                                            <input type="text" name="login" size="25" maxlength="20">
                                                            <br><br>

                                                            Senha(*):
                                                            <input type="password" name="senha" size="25" maxlength="20">
                                                            <br><br>

                                                            Confirmar Senha(*):
                                                            <input type="password" name="senha2" size="25" maxlength="20">
                                                            <br><br>

                                                            <input Value="Cadastrar" class="buttonOK" type="submit" >
                                                            <input name="btnLimpar" class="buttonOK" type="reset" value="Limpar">

                                                        </form>
                                                    </fieldset>
                                                    <p><br>
                                                    </p>
                                                </div>                                                          <div align="justify"></div></td>
                                        </tr>
                                    </table>
                                    <br>
                                    <br>
                                    <br>
                                    <p>&nbsp;</p></td>
                            </tr>
                        </table>


                    </td>
                </tr>
            </table>
        </td>
    </tr>
</html>
